package com.example.demojpa.dao;

import com.example.demojpa.domain.Hobby;
import org.springframework.data.jpa.repository.JpaRepository;

public interface HobbyDao extends JpaRepository<Hobby,Integer> {

    Hobby findAllById(Integer id);
}
